<?php


namespace app\system\service;

class ExportService
{
	public static function export_return_data_structure($res) : array
	{
		return ["filesize" => $res["filesize"], "url" => getsiteurl() . "/index/system/data_export_file_download/id/" . $res["id"] . "/token/" . md5($res["id"] . $res["key"]), "name" => $res["name"], "create_time" => $res["create_time"], "expire_time" => $res["expire_time"]];
	}
}